﻿using System;

namespace IMaverick.Physics.Extensions
{
    public static partial class DoubleExtensions
    {
        public static PhysicalValue<Velocity> m_s(this Double operand)
        {
            return new PhysicalValue<Velocity>(operand, Velocity.MeterPerSecond);
        }
        public static PhysicalValue<Velocity> kmh(this Double operand)
        {
            return new PhysicalValue<Velocity>(operand, Velocity.KilometerPerHour);
        }
        public static PhysicalValue<Velocity> mph(this Double operand)
        {
            return new PhysicalValue<Velocity>(operand, Velocity.MilesPerHour);
        }
        public static PhysicalValue<Velocity> cm_s(this Double operand)
        {
            return new PhysicalValue<Velocity>(operand, Velocity.CentimeterPerSecond);
        }
    }
}
